<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" href="../../docs-assets/ico/favicon.png">
	<style type="text/css">
	body {
  min-height: 2000px;
  padding-top: 70px;
}
	</style>
    <title><?php echo CHtml::encode($this->pageTitle); ?></title>
    
    <!-- Bootstrap core CSS 
    <link href="../../dist/css/bootstrap.css" rel="stylesheet"> -->

    <!-- Custom styles for this template -->

    <!-- Just for debugging purposes. Don't actually copy this line! -->
    <!--[if lt IE 9]><script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <!-- Fixed navbar -->
    <?php /*?><div class="navbar navbar-default navbar-fixed-top" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand js-normal-link" href="<?php echo Yii::app()->baseUrl?>">Project name</a>
        </div>
        <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            <li class="active"><a href="<?php echo Yii::app()->baseUrl.'/site/index'?>">Home</a></li>
            <li><a href="<?php echo $this->createUrl('/site/page',array('view'=>'about'))//Yii::app()->baseUrl.'/site/page'?>">About</a></li>
            <li><a href="<?php echo Yii::app()->baseUrl.'/site/contact'?>">Contact</a></li>
            <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="#">Action</a></li>
                <li><a href="#">Another action</a></li>
                <li><a href="#">Something else here</a></li>
                <li class="divider"></li>
                <li class="dropdown-header">Nav header</li>
                <li><a href="#">Separated link</a></li>
                <li><a href="#">One more separated link</a></li>
              </ul>
            </li>
          </ul>
          <?php $this->widget('bootstrap.widgets.BsNav', array(
		  		'items' => array(
					array(
						'label' => 'About',
						'url' => array(
							'/site/page',
							'view' => 'about'
						)
					),
					array(
						'label' => 'Contact',
						'url' => array(
							'/site/contact'
						)
					),
					array(
						'label' => 'Login',
						'url' => array(
							'/site/login'
						),
						'pull' => BSHtml::NAVBAR_NAV_PULL_RIGHT,
						'visible' => Yii::app()->user->isGuest
					),
					array(
						'label' => 'Logout (' . Yii::app()->user->name . ')',
						'pull' => BSHtml::NAVBAR_NAV_PULL_RIGHT,
						'url' => array(
							'/site/logout'
						),
						'visible' => !Yii::app()->user->isGuest
					)
				),
				'htmlOptions' => array(
					'pull' => BSHtml::NAVBAR_NAV_PULL_RIGHT,
					'class' => 'nav navbar-nav'
				)
				));?>
          
        </div><!--/.nav-collapse -->
      </div>
    </div><?php */?>
   <?php echo $this->viewData['nav']; ?>

    <div class="js-response container">
		<?php if(isset($this->breadcrumbs)):
		
$this->widget('bootstrap.widgets.BsBreadCrumb', array(
    'links' => $this->breadcrumbs,
    // will change the container to ul
    'tagName' => 'ul',
    // will generate the clickable breadcrumb links
    'activeLinkTemplate' => '<li><a href="{url}">{label}</a></li>',
    // will generate the current page url : <li>News</li>
    'inactiveLinkTemplate' => '<li>{label}</li>',
    // will generate your homeurl item : <li><a href="/dr/dr/public_html/">Home</a></li>
    //'homeLink' => BSHtml::openTag('li') . BSHtml::icon(BSHtml::GLYPHICON_HOME) . BSHtml::closeTag('li')
)); endif;
?><!-- breadcrumbs -->
	  <?php echo $content; ?>
      <!-- Main component for a primary marketing message or call to action -->
      <div class="jumbotron">
        <h1>Navbar example</h1>
        <p>This example is a quick exercise to illustrate how the default, static and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>
        <p>To see the difference between static and fixed top navbars, just scroll.</p>
        <p>
          <a class="btn btn-lg btn-primary" href="../../components/#navbar" role="button">View navbar docs &raquo;</a>
        </p>
      </div>

    </div> <!-- /container -->
    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    
  </body>
</html>